import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:liuxlcommon/view/lxl_widget.dart';
import 'package:liuxlcommon/view/my_box.dart';
import 'package:love_newf/generated/assets.dart';

class ProvinceLabel extends StatelessWidget {
  String province;

  ProvinceLabel(this.province, {super.key});

  @override
  Widget build(BuildContext context) =>
      LText.easy(province, 10.w, null, Colors.white)
          .radius(15.w)
          .size(null, 15.w)
          .paddingH(7.w)
          .gradient(const [Color(0xFFDB8DFF), Color(0xFF8D70FF)],
              Alignment.centerRight);
}
